package com.topisv.tms.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.LogisticsMailNo;

public interface LogisticsMailNoDao extends PagingAndSortingRepository<LogisticsMailNo, Long>,JpaSpecificationExecutor<LogisticsMailNo> {

	List<LogisticsMailNo> findByCompanyCodeAndAreaGroupCode(String companyCode,String areaGroupCode);
	
	LogisticsMailNo findByMailNo(String mailNo);
}
